package com.yu.mall.entity;

import java.util.Date;
import javax.persistence.Table;
import javax.persistence.Id;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@Table(name="admin_user")
@ApiModel
public class AdminUser {
    /**
     * 
     */
    @Id
    @ApiModelProperty(value="用户id 新增时不传，修改时传",example = "1")
    private Integer id;

    /**
     * 用户名
     */
    @ApiModelProperty(value="用户名",required = true)
    private String userName;

    /**
     * 密码
     */
    @ApiModelProperty(value="密码",required = true)
    private String passWord;

    /**
     * 呢称
     */
    @ApiModelProperty(value="呢称",required = true)
    private String nickName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private Date updateTime;
}